package com.mengniu.commerce.sync.service;

import com.mengniu.commerce.common.core.domain.R;
import com.mengniu.commerce.sync.api.base.MnResult;
import com.mengniu.commerce.sync.api.domain.CreateOrderModel;
import com.mengniu.commerce.sync.api.domain.ModifyOrderModel;
import com.mengniu.commerce.sync.api.dto.RetryDTO;

import java.util.List;

public interface OrderService {

    /**
     * F-C消费者电商平台订单创建API-原子
     */
    R createOrder(List<CreateOrderModel> createOrderModelList, RetryDTO retryDTO);


    /**
     * F-C消费者销售订单修改API-原子
     */
    R  modifyOrder(List<ModifyOrderModel> modifyOrderModelList, RetryDTO retryDTO);
}
